.templateEditTabsWrap {
    margin: 12px 12px 32px;
    background-color: #fff;
    padding: 0 24px 24px;
    min-height: calc(100vh - 200px);
    .tabBar {
        display: flex;
        align-items: center;
        .tabBarName {
            font-size: 16px;
            font-weight: 600;
            color: rgba(0, 0, 0, 0.85);
            width: 196px;
            height: 72px;
            line-height: 72px;
            border-bottom: 1px solid #e8e8e8;
            margin: 0 0 16px 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    }
    .tabBarStep {
        display: flex;
        align-items: center;
        .num {
            display: block;
            width: 24px;
            height: 24px;
            line-height: 24px;
            text-align: center;
            overflow: hidden;
            border-radius: 50%;
            background-color: #f5f5f5;
            color: #8c8c8c;
            margin-right: 8px;
            position: absolute;
            left: -32px;
        }
    }
    .errorMsg {
        color: #fe5858;
        display: flex;
        align-items: center;
        em {
            margin: 0 2px 0 4px;
            font-style: normal;
        }
    }

    :global {
        .ant-tabs-nav {
            .ant-tabs-tab {
                padding: 24px 0 !important;
                margin-left: 32px;
                font-weight: 500;
                color: rgba(0, 0, 0, 0.65);
            }
            .ant-tabs-tab-active {
                span {
                    background-color: #ffa22d !important;
                    color: #fff !important;
                }
            }
        }
        .ant-tabs .ant-tabs-top-content > .ant-tabs-tabpane,
        .ant-tabs .ant-tabs-bottom-content > .ant-tabs-tabpane {
            padding: 4px 24px;
            min-height: 420px;
        }
    }
}

.errorPopoverContent {
    max-width: 352px;
    ul {
        color: rgba(0, 0, 0, 0.45);
        max-height: 180px;
        overflow: auto;
        padding-right: 6px;
        li {
            background: #fafafa;
            margin-bottom: 8px;
            line-height: 24px;
            padding: 10px 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            div {
                display: flex;
                flex: 1;
                b {
                    font-weight: 600;
                    color: rgba(0, 0, 0, 0.65);
                    margin-right: 20px;
                }
                span {
                    width: 160px;
                    flex: 1;
                    font-weight: 400;
                }
            }
        }
    }
}

.postTabpaneBox {
    border-radius: 4px;
    padding: 16px 24px;
    border: 1px solid #e8e8e8;
    .list {
        padding-bottom: 25px;
        margin-bottom: 16px;
        border-bottom: 1px solid #f8f8f8;
        .orgName {
            font-weight: bold;
            color: rgba(0, 0, 0, 0.65);
            margin-bottom: 10px;
        }
        .orgList {
            padding: 0 8px;
            span {
                font-size: 12px;
                color: rgba(0, 0, 0, 0.65);
                font-weight: 400;
                margin-right: 18px;
                height: 18px;
                line-height: 18px;
                background: #fafafa;
                border-radius: 4px;
                padding: 2px 8px;
            }
        }
        &:last-child {
            border-bottom: 0;
            margin-bottom: 0;
        }
    }
}
